<template>
  <div id="app">
    <nav>
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>|
      <router-link to="/bpmnadd">用户</router-link>|
      <router-link to="/rolelist">角色</router-link>
    </nav>
    <router-view />
    <!-- <el-container>
      <el-header>
        <h3 style="font-size: 30px; float: left" icon="el-icon-search">
          RBAC系统
        </h3>
      </el-header>
      <br />
      <el-container>
        <el-aside>
          <el-col :span="12">
            <el-menu
              default-active="2"
              class="el-menu-vertical-demo"
              :router="true"
            >
              <el-submenu index="1">
                <template slot="title">
                  <i class="el-icon-s-platform"></i>
                  <span>后台管理</span>
                </template>
                <el-menu-item-group>
                  <template slot="title"></template>
                  <el-menu-item index="/treeshow" class="el-icon-user-solid"
                    >权限管理</el-menu-item
                  >
                  <el-menu-item index="/bpmnadd" class="el-icon-user-solid"
                    >用户管理</el-menu-item
                  >
                  <el-menu-item index="/rolelist" class="el-icon-s-custom"
                    >角色管理</el-menu-item
                  >
                </el-menu-item-group>
              </el-submenu>
            </el-menu>
          </el-col>
        </el-aside>
        <el-main><router-view /></el-main> -->
    <!-- </el-container> -->
    <!-- </el-container> -->
  </div>
</template>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
